const { ipcMain } = require("electron");
const fs = require("fs");
const path = require("path");

ipcMain.handle("on-get-files-event", (e) => {
  return fs.readdirSync(path.resolve(__dirname, "../public/uploads/"));
});
